package com.ym.b2b.product.dao;

import org.springframework.dao.DataAccessException;

import com.ym.b2b.product.sqlbean.EmBProductPromo;
import com.zc.commons.base.Page;

public interface EmBProductPromoDAO {

    Long searchPageEmBProductPromoNum(EmBProductPromo embproductpromo) throws DataAccessException;

    void searchPageEmBProductPromo(EmBProductPromo embproductpromo, Page<EmBProductPromo> page)
                                                                                               throws DataAccessException;

    void insertEmBProductPromo(EmBProductPromo record) throws DataAccessException;

    int updateEmBProductPromo(EmBProductPromo record) throws DataAccessException;

    EmBProductPromo searchEmBProductPromo(EmBProductPromo emBProductPromo) throws DataAccessException;

    int deleteEmBProductPromo(EmBProductPromo emBProductPromo) throws DataAccessException;
}
